<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><{$shop_data.shop_name}></title>
    <link href="/public/H-ui/css/style.css" rel="stylesheet" type="text/css">
    <link href="/public/H-ui/hui-iconfont/iconfont.css" rel="stylesheet" type="text/css">
</head>
<body>
    <div class="top_header">
        <div class="top_left">
            <span><a href="<{site_url('/shop/welcome/main')}>" target="main"><{$shop_data.shop_name}></a></span>
        </div>
        <div class="top_menu">
            <{if $shop_data.role_id==0 || stripos($shop_data.role, 'goods')!== false}>
            <a href="<{site_url('/shop/welcome/menu/goods')}>" target="left"><i class="Hui-iconfont">&#xe620;</i> 商品</a>&nbsp&nbsp
            <{/if}>
            <{if $shop_data.role_id==0 || stripos($shop_data.role, 'goods')!== false}>
            <a href="<{site_url('/shop/welcome/menu/order')}>" target="left"><i class="Hui-iconfont">&#xe673;</i> 订单</a>&nbsp&nbsp
            <{/if}>
            <{if $admin_data.role_id==0 || stripos($admin_data.role, 'market')!== false}>
            <a href="<{site_url('/shop/welcome/menu/market')}>" target="left"><i class="Hui-iconfont">&#xe6bb;</i> 营销</a>&nbsp&nbsp
            <{/if}>
            <{if $shop_data.role_id==0 || stripos($shop_data.role, 'goods')!== false}>
            <a href="<{site_url('/shop/welcome/menu/report')}>" target="left"><i class="Hui-iconfont">&#xe61e;</i> 统计</a>&nbsp&nbsp
            <{/if}>
            <{if $shop_data.role_id==0 || stripos($shop_data.role, 'goods')!== false}>
            <a href="<{site_url('/shop/welcome/menu/system')}>" target="left"><i class="Hui-iconfont">&#xe61d;</i> 系统</a>
            <{/if}>
        </div>
        <div class="top_right"><span>欢迎<{$shop_data.username}> <a href="<{site_url('/shop/login/loginout')}>">退出</a></span></div>
        <div class="clear"></div>
    </div>
</body>
</html>